package cn.cy.structure.composite.general;

/**
 * @author yangxq
 * @desc
 * @date 2025-05-20
 */
public class File {

    private String name;

    public File(String name) {
        this.name = name;
    }

    public void printStructure(int depth) {
        System.out.println(" ".repeat(depth) + "- " + name + " (File)");
    }

}
